package com.ruoyi.project.wechatprogram.categorymenu.domain;

import cn.hutool.core.util.StrUtil;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 类型-菜品中间对象 wx_category_menu
 * 
 * @author sxchen
 * @date 2020-04-23
 */
public class WxCategoryMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 类目表id */
    @Excel(name = "类目表id")
    private Integer categoryId;

    /** 菜单表id */
    @Excel(name = "菜单表id")
    private Integer menuId;

    /** 站点id */
    @Excel(name = "站点id")
    private Integer webId;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    /** 菜单名称，映射 */
    private String menuName;

    /** 菜单状态，映射 */
    private String menuStatus;

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuStatus() {
        return menuStatus;
    }

    public void setMenuStatus(String menuStatus) {
        this.menuStatus = menuStatus;
    }

    public WxCategoryMenu() {
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCategoryId(Integer categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Integer getCategoryId() 
    {
        return categoryId;
    }
    public void setMenuId(Integer menuId) 
    {
        this.menuId = menuId;
    }

    public Integer getMenuId() 
    {
        return menuId;
    }
    public void setWebId(Integer webId) 
    {
        this.webId = webId;
    }

    public Integer getWebId() 
    {
        return webId;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("menuId", getMenuId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("webId", getWebId())
            .append("del", getDel())
            .toString();
    }
}
